<template>
  <view v-if="!!adInfo">
    <!-- #ifdef MP-WEIXIN -->
    <ad :unit-id="adInfo.wx_banner_ad_id" ad-type="video" ad-theme="white"></ad>
    <!-- #endif -->
    <!-- #ifdef MP-TOUTIAO -->
    <ad :unit-id="adInfo.tt_banner_ad_id" ad-type="video" ad-theme="white"></ad>
    <!-- #endif -->
  </view>
</template>

<script>
export default {
  name: "videoAD",
  data() {
    return {
      adInfo: null,

    }
  },
  mounted() {
    this.adInfo = this.$util.getStorageByPhone('adInfo');
  }
}
</script>

<style scoped>

</style>
